
var http = require('http');
var request = require('request');
var URL = require('url');
// 创建http服务
var app = http.createServer(function (req, res) {
  var url = URL.parse(req.url).query; //获取url参数
  request.get(url).pipe(res);
});
console.log('http://127.0.0.1:8403');
app.listen(8403);